package com.project.drugs;
import javax.swing.JFrame;

public class ExtendsJFrame extends JFrame{
	public ExtendsJFrame(String name,int width,int height) {
		setTitle(name);
		setSize(width,height);
		setLocationRelativeTo(null);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setVisible(true);
	}
}